home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update18.zoo / include / diffs
Encoding:
Text File  |  1992-03-22  |  19.5 KB  |  657 lines

  1. *** 1.38    1992/03/10 15:22:18
  2. --- PatchLev.h    1992/03/22 22:06:18
  3. ***************
  4. *** 1,5 ****
  5.   
  6. ! #define    PatchLevel "77"
  7.   
  8.   /*
  9.    *
  10. --- 1,5 ----
  11.   
  12. ! #define    PatchLevel "78"
  13.   
  14.   /*
  15.    *
  16. *** 1.4    1992/03/06 19:29:17
  17. --- compiler.h    1992/03/22 22:06:19
  18. ***************
  19. *** 40,45 ****
  20. --- 40,54 ----
  21.   #endif
  22.   
  23.   #ifdef __SOZOBON__
  24. + /*
  25. +  * Temporary hacks to overcome 1.33i's short symbol names. Hopefully future
  26. +  * versions will allow the extended Sozobon symbol format.
  27. +  */
  28. + #define _mallocChunkSize _sc_mCS
  29. + #define _malloczero _sc_mz
  30. + #define _console_read_byte _sc_crb
  31. + #define _console_write_byte _sc_cwb
  32.   /* Doesn't know (void *) is special (but can handle it); this works better. */
  33.   #define __NULL (0L)
  34.   
  35. *** 1.14    1991/12/26 16:23:20
  36. --- ioctl.h    1992/03/22 22:06:22
  37. ***************
  38. *** 16,21 ****
  39. --- 16,22 ----
  40.   #define TIOCSWINSZ    (('T'<< 8) | 12)
  41.   
  42.   #ifdef __MINT__
  43. + #define FSTAT        (('F'<< 8) | 0)
  44.   #define FIONREAD    (('F'<< 8) | 1)
  45.   #define FIONWRITE    (('F'<< 8) | 2)
  46.   #define TIOCGPGRP    (('T'<< 8) | 6)
  47. ***************
  48. *** 23,28 ****
  49. --- 24,31 ----
  50.   #define TIOCFLUSH    (('T'<< 8) | 8)
  51.   #define TIOCSTOP    (('T'<< 8) | 9)
  52.   #define TIOCSTART    (('T'<< 8) | 10)
  53. + #define TIOCGXKEY    (('T'<< 8) | 13)
  54. + #define TIOCSXKEY    (('T'<< 8) | 14)
  55.   
  56.   /* not yet implemented in MiNT */
  57.   #define TIOCGETD    (('T'<<8) | 16)
  58. ***************
  59. *** 67,72 ****
  60. --- 70,84 ----
  61.   #define PASS8        0x0100
  62.   #define EVENP        0x4000
  63.   #define ODDP        0x8000
  64. + #ifdef __MINT__
  65. + #define TOSTOP        0x0100
  66. + #define XKEY        0x0200
  67. + struct xkey {
  68. +     short    xk_num;
  69. +     char    xk_def[8];
  70. + };
  71. + #endif
  72.   
  73.   /* Only ones that are likely to be used are here */
  74.   /* ok, but emacs thinks it knows their value */
  75. *** 1.12    1991/12/26 16:23:20
  76. --- math.h    1992/03/22 22:06:23
  77. ***************
  78. *** 135,141 ****
  79. --- 135,143 ----
  80.   __EXTERN double cabs    __PROTO((COMPLEX));
  81.   __EXTERN COMPLEX cmult    __PROTO((COMPLEX, COMPLEX));
  82.   __EXTERN COMPLEX csqrt    __PROTO((COMPLEX));
  83. + #ifndef __GNUG__
  84.   __EXTERN COMPLEX clog    __PROTO((COMPLEX));
  85. + #endif
  86.   __EXTERN COMPLEX cacos    __PROTO((COMPLEX));
  87.   __EXTERN COMPLEX cadd    __PROTO((COMPLEX,COMPLEX));
  88.   __EXTERN COMPLEX casin    __PROTO((COMPLEX));
  89. *** 1.14    1991/06/20 02:21:30
  90. --- memory.h    1992/03/22 22:06:23
  91. ***************
  92. *** 14,22 ****
  93.   typedef _SIZE_T size_t;
  94.   #endif
  95.   
  96. ! #ifdef __GNUC__
  97.   #  ifndef alloca
  98. ! #    define alloca __builtin_alloca
  99.   #  endif
  100.   #endif
  101.   
  102. --- 14,22 ----
  103.   typedef _SIZE_T size_t;
  104.   #endif
  105.   
  106. ! #if defined(__GNUC__) || defined(__GNUG__)
  107.   #  ifndef alloca
  108. ! #    define alloca(x)  __builtin_alloca(x)
  109.   #  endif
  110.   #endif
  111.   
  112. *** 1.10    1991/12/26 16:23:20
  113. --- minimal.h    1992/03/22 22:06:23
  114. ***************
  115. *** 18,23 ****
  116. --- 18,28 ----
  117.   
  118.   __EXTERN __EXITING __exit __PROTO((long)); /* def in crt0.c */
  119.   
  120. + void     _init_signal __PROTO((void));
  121. + int       raise    __PROTO((int sig));
  122. + void      exit  __PROTO((int status));
  123. + void     _exit  __PROTO((int status));
  124. + void     _main  __PROTO((long argc, char **argv, char **environ));
  125.   
  126.   void
  127.   _init_signal()
  128. *** 1.25    1992/03/06 19:29:17
  129. --- osbind.h    1992/03/22 22:06:24
  130. ***************
  131. *** 80,85 ****
  132. --- 80,99 ----
  133.    *
  134.    *    -- straps.cpp and traps.c are history. we dont need no stinking
  135.    *    non-reentrant bindings (straps) or incorrect ones (traps.c :-)
  136. +  *
  137. +  * 03/15/92 ++jrb
  138. +  *    -- another re-hack needed for gcc-2.0: the optimization that we
  139. +  *      used earlier for traps with more than 4 args, making them volatile
  140. +  *    and using "g" constraints no longer works, because gcc has become
  141. +  *    so smart! we now remove the volatile, and give "r" constraints
  142. +  *    (just like traps with <= 4 args). that way the args are evaled
  143. +  *    before we change the stack under gcc, and at appropriate times
  144. +  *    put into reggies and pushed (or as in most cases, they are evaled
  145. +  *    straight into reggies and pushed -- and in even more common cases
  146. +  *    they are already in reggies, and they are just pushed). not doing
  147. +  *    this with -fomit-frame-pointer was causing the temps (from evaluing
  148. +  *    the args) to be created on the stack, but when we changed sp
  149. +  *    from under gccs feet, the offsets  to the temps ended up being wrong.
  150.    */
  151.   
  152.   #ifndef _OSBIND_H
  153. ***************
  154. *** 261,270 ****
  155.   #define trap_1_wwlll(n, a, b, c, d)                    \
  156.   ({                                    \
  157.       register long retvalue __asm__("d0");                \
  158. !     volatile short _a = (volatile short)(a);            \
  159. !     volatile long  _b = (volatile long) (b);            \
  160. !     volatile long  _c = (volatile long) (c);            \
  161. !     volatile long  _d = (volatile long) (d);            \
  162.                                           \
  163.       __asm__ volatile                        \
  164.       ("\
  165. --- 275,284 ----
  166.   #define trap_1_wwlll(n, a, b, c, d)                    \
  167.   ({                                    \
  168.       register long retvalue __asm__("d0");                \
  169. !     short _a = (short)(a);            \
  170. !     long  _b = (long) (b);            \
  171. !     long  _c = (long) (c);            \
  172. !     long  _d = (long) (d);            \
  173.                                           \
  174.       __asm__ volatile                        \
  175.       ("\
  176. ***************
  177. *** 274,281 ****
  178.           movw    %1,sp@-; \
  179.           movw    %0,sp@- "                    \
  180.       :                         /* outputs */    \
  181. !     : "g"(n), "g"(_a), "g"(_b), "g"(_c), "g"(_d) /* inputs  */    \
  182. !     );                                \
  183.     /* no more than 5 operand allowed in asm() -- therefore the split */  \
  184.                                       \
  185.       __asm__ volatile                        \
  186. --- 288,295 ----
  187.           movw    %1,sp@-; \
  188.           movw    %0,sp@- "                    \
  189.       :                         /* outputs */    \
  190. !     : "g"(n), "r"(_a), "r"(_b), "r"(_c), "r"(_d) /* inputs  */    \
  191. !         );                                \
  192.     /* no more than 5 operand allowed in asm() -- therefore the split */  \
  193.                                       \
  194.       __asm__ volatile                        \
  195. ***************
  196. *** 364,374 ****
  197.   #define trap_13_wwlwww(n, a, b, c, d, e)                \
  198.   ({                                    \
  199.       register long retvalue __asm__("d0");                \
  200. !     volatile short _a = (volatile short)(a);            \
  201. !     volatile long  _b = (volatile long) (b);            \
  202. !     volatile short _c = (volatile short)(c);            \
  203. !     volatile short _d = (volatile short)(d);            \
  204. !     volatile short _e = (volatile short)(e);            \
  205.                                           \
  206.       __asm__ volatile                        \
  207.       ("\
  208. --- 378,388 ----
  209.   #define trap_13_wwlwww(n, a, b, c, d, e)                \
  210.   ({                                    \
  211.       register long retvalue __asm__("d0");                \
  212. !     short _a = (short)(a);            \
  213. !     long  _b = (long) (b);            \
  214. !     short _c = (short)(c);            \
  215. !     short _d = (short)(d);            \
  216. !     short _e = (short)(e);            \
  217.                                           \
  218.       __asm__ volatile                        \
  219.       ("\
  220. ***************
  221. *** 378,384 ****
  222.           movl    %1,sp@-; \
  223.           movw    %0,sp@-    "                    \
  224.       :                          /* outputs */    \
  225. !     : "g"(_a), "g"(_b), "g"(_c), "g"(_d), "g"(_e) /* inputs  */    \
  226.       );                                \
  227.                                       \
  228.       __asm__ volatile                        \
  229. --- 392,398 ----
  230.           movl    %1,sp@-; \
  231.           movw    %0,sp@-    "                    \
  232.       :                          /* outputs */    \
  233. !     : "r"(_a), "r"(_b), "r"(_c), "r"(_d), "r"(_e) /* inputs  */    \
  234.       );                                \
  235.                                       \
  236.       __asm__ volatile                        \
  237. ***************
  238. *** 552,559 ****
  239.   #define trap_14_wllwwwww(n, a, b, c, d, e, f, g)            \
  240.   ({                                    \
  241.       register long retvalue __asm__("d0");                \
  242. !     volatile long  _a = (volatile long) (a);            \
  243. !     volatile long  _b = (volatile long) (b);            \
  244.       short _c = (short)(c);                        \
  245.       short _d = (short)(d);                        \
  246.       short _e = (short)(e);                        \
  247. --- 566,573 ----
  248.   #define trap_14_wllwwwww(n, a, b, c, d, e, f, g)            \
  249.   ({                                    \
  250.       register long retvalue __asm__("d0");                \
  251. !     long  _a = (long) (a);                        \
  252. !     long  _b = (long) (b);                        \
  253.       short _c = (short)(c);                        \
  254.       short _d = (short)(d);                        \
  255.       short _e = (short)(e);                        \
  256. ***************
  257. *** 568,574 ****
  258.           movw    %1,sp@-; \
  259.           movw    %0,sp@-    "                    \
  260.       :                          /* outputs */    \
  261. !     : "g"(_c), "g"(_d), "g"(_e), "g"(_f), "g"(_g) /* inputs  */    \
  262.       );                                \
  263.                                       \
  264.       __asm__ volatile                        \
  265. --- 582,588 ----
  266.           movw    %1,sp@-; \
  267.           movw    %0,sp@-    "                    \
  268.       :                          /* outputs */    \
  269. !     : "r"(_c), "r"(_d), "r"(_e), "r"(_f), "r"(_g) /* inputs  */    \
  270.       );                                \
  271.                                       \
  272.       __asm__ volatile                        \
  273. ***************
  274. *** 579,585 ****
  275.           trap    #14;    \
  276.           addw    #20,sp "                    \
  277.       : "=r"(retvalue)            /* outputs */        \
  278. !     : "g"(n), "g"(_a), "g"(_b)        /* inputs  */        \
  279.       : "d0", "d1", "d2", "a0", "a1", "a2"    /* clobbered regs */    \
  280.       );                                \
  281.       retvalue;                            \
  282. --- 593,599 ----
  283.           trap    #14;    \
  284.           addw    #20,sp "                    \
  285.       : "=r"(retvalue)            /* outputs */        \
  286. !     : "g"(n), "r"(_a), "r"(_b)        /* inputs  */        \
  287.       : "d0", "d1", "d2", "a0", "a1", "a2"    /* clobbered regs */    \
  288.       );                                \
  289.       retvalue;                            \
  290. ***************
  291. *** 588,596 ****
  292.   #define trap_14_wllwwwwlw(n, a, b, c, d, e, f, g, h)            \
  293.   ({                                    \
  294.       register long retvalue __asm__("d0");                \
  295. !     volatile long  _a = (volatile long) (a);            \
  296. !     volatile long  _b = (volatile long) (b);            \
  297. !     volatile short _c = (volatile short)(c);            \
  298.       short _d = (short)(d);                        \
  299.       short _e = (short)(e);                        \
  300.       short _f = (short)(f);                        \
  301. --- 602,610 ----
  302.   #define trap_14_wllwwwwlw(n, a, b, c, d, e, f, g, h)            \
  303.   ({                                    \
  304.       register long retvalue __asm__("d0");                \
  305. !     long  _a = (long) (a);                        \
  306. !     long  _b = (long) (b);                        \
  307. !     short _c = (short)(c);                        \
  308.       short _d = (short)(d);                        \
  309.       short _e = (short)(e);                        \
  310.       short _f = (short)(f);                        \
  311. ***************
  312. *** 605,611 ****
  313.           movw    %1,sp@-; \
  314.           movw    %0,sp@- "                    \
  315.       :                          /* outputs */    \
  316. !     : "g"(_d), "g"(_e), "g"(_f), "g"(_g), "g"(_h) /* inputs  */    \
  317.       );                                \
  318.                                           \
  319.       __asm__ volatile                        \
  320. --- 619,625 ----
  321.           movw    %1,sp@-; \
  322.           movw    %0,sp@- "                    \
  323.       :                          /* outputs */    \
  324. !     : "r"(_d), "r"(_e), "r"(_f), "r"(_g), "r"(_h) /* inputs  */    \
  325.       );                                \
  326.                                           \
  327.       __asm__ volatile                        \
  328. ***************
  329. *** 617,623 ****
  330.           trap    #14;    \
  331.           addw    #24,sp "                    \
  332.       : "=r"(retvalue)               /* outputs */    \
  333. !     : "g"(n), "g"(_a), "g"(_b), "g"(_c)        /* inputs  */    \
  334.       : "d0", "d1", "d2", "a0", "a1", "a2"    /* clobbered regs */    \
  335.       );                                \
  336.       retvalue;                            \
  337. --- 631,637 ----
  338.           trap    #14;    \
  339.           addw    #24,sp "                    \
  340.       : "=r"(retvalue)               /* outputs */    \
  341. !     : "g"(n), "r"(_a), "r"(_b), "r"(_c)        /* inputs  */    \
  342.       : "d0", "d1", "d2", "a0", "a1", "a2"    /* clobbered regs */    \
  343.       );                                \
  344.       retvalue;                            \
  345. ***************
  346. *** 626,635 ****
  347.   #define trap_14_wllwwwwwlw(n, a, b, c, d, e, f, g, h, i)        \
  348.   ({                                    \
  349.       register long retvalue __asm__("d0");                \
  350. !     volatile long  _a = (volatile long) (a);            \
  351. !     volatile long  _b = (volatile long) (b);            \
  352. !     volatile short _c = (volatile short)(c);            \
  353. !     volatile short _d = (volatile short)(d);            \
  354.       short _e = (short)(e);                        \
  355.       short _f = (short)(f);                        \
  356.       short _g = (short)(g);                        \
  357. --- 640,649 ----
  358.   #define trap_14_wllwwwwwlw(n, a, b, c, d, e, f, g, h, i)        \
  359.   ({                                    \
  360.       register long retvalue __asm__("d0");                \
  361. !     long  _a = (long) (a);                        \
  362. !     long  _b = (long) (b);                        \
  363. !     short _c = (short)(c);                        \
  364. !     short _d = (short)(d);                        \
  365.       short _e = (short)(e);                        \
  366.       short _f = (short)(f);                        \
  367.       short _g = (short)(g);                        \
  368. ***************
  369. *** 644,650 ****
  370.           movw    %1,sp@-; \
  371.           movw    %0,sp@- "                    \
  372.       :                          /* outputs */    \
  373. !     : "g"(_e), "g"(_f), "g"(_g), "g"(_h), "g"(_i) /* inputs  */    \
  374.       );                                \
  375.                                       \
  376.       __asm__ volatile                        \
  377. --- 658,664 ----
  378.           movw    %1,sp@-; \
  379.           movw    %0,sp@- "                    \
  380.       :                          /* outputs */    \
  381. !     : "r"(_e), "r"(_f), "r"(_g), "r"(_h), "r"(_i) /* inputs  */    \
  382.       );                                \
  383.                                       \
  384.       __asm__ volatile                        \
  385. ***************
  386. *** 655,661 ****
  387.           movl    %1,sp@-; \
  388.                   movw    %0,sp@- "                    \
  389.       :                         /* outputs */    \
  390. !     : "g"(n), "g"(_a), "g"(_b), "g"(_c), "g"(_d) /* inputs  */    \
  391.       );                                \
  392.                                           \
  393.       __asm__ volatile                        \
  394. --- 669,675 ----
  395.           movl    %1,sp@-; \
  396.                   movw    %0,sp@- "                    \
  397.       :                         /* outputs */    \
  398. !     : "g"(n), "r"(_a), "r"(_b), "r"(_c), "r"(_d) /* inputs  */    \
  399.       );                                \
  400.                                           \
  401.       __asm__ volatile                        \
  402. ***************
  403. *** 673,679 ****
  404.   #define trap_14_wwwwwww(n, a, b, c, d, e, f)                \
  405.   ({                                    \
  406.       register long retvalue __asm__("d0");                \
  407. !     volatile short _a = (volatile short)(a);            \
  408.       short _b = (short)(b);                        \
  409.       short _c = (short)(c);                        \
  410.       short _d = (short)(d);                        \
  411. --- 687,693 ----
  412.   #define trap_14_wwwwwww(n, a, b, c, d, e, f)                \
  413.   ({                                    \
  414.       register long retvalue __asm__("d0");                \
  415. !     short _a = (short)(a);                        \
  416.       short _b = (short)(b);                        \
  417.       short _c = (short)(c);                        \
  418.       short _d = (short)(d);                        \
  419. ***************
  420. *** 688,694 ****
  421.           movw    %1,sp@-; \
  422.           movw    %0,sp@- "                    \
  423.       :                            /* outputs */    \
  424. !     : "g"(_b), "g"(_c), "g"(_d), "g"(_e), "g"(_f)    /* inputs  */    \
  425.       );                                \
  426.                                       \
  427.       __asm__ volatile                        \
  428. --- 702,708 ----
  429.           movw    %1,sp@-; \
  430.           movw    %0,sp@- "                    \
  431.       :                            /* outputs */    \
  432. !     : "r"(_b), "r"(_c), "r"(_d), "r"(_e), "r"(_f)    /* inputs  */    \
  433.       );                                \
  434.                                       \
  435.       __asm__ volatile                        \
  436. ***************
  437. *** 698,704 ****
  438.           trap    #14;    \
  439.           addw    #14,sp "                    \
  440.       : "=r"(retvalue)            /* outputs */        \
  441. !     : "g"(n), "g"(_a)            /* inputs  */        \
  442.       : "d0", "d1", "d2", "a0", "a1", "a2"    /* clobbered regs */    \
  443.       );                                \
  444.       retvalue;                            \
  445. --- 712,718 ----
  446.           trap    #14;    \
  447.           addw    #14,sp "                    \
  448.       : "=r"(retvalue)            /* outputs */        \
  449. !     : "g"(n), "r"(_a)            /* inputs  */        \
  450.       : "d0", "d1", "d2", "a0", "a1", "a2"    /* clobbered regs */    \
  451.       );                                \
  452.       retvalue;                            \
  453. ***************
  454. *** 729,738 ****
  455.   #define trap_14_wllww(n, a, b, c, d)                    \
  456.   ({                                    \
  457.       register long retvalue __asm__("d0");                \
  458. !     volatile long  _a = (volatile long) (a);            \
  459. !     volatile long  _b = (volatile long) (b);            \
  460. !     volatile short _c = (volatile short)(c);            \
  461. !     volatile short _d = (volatile short)(d);            \
  462.                                           \
  463.       __asm__ volatile                        \
  464.       ("\
  465. --- 743,752 ----
  466.   #define trap_14_wllww(n, a, b, c, d)                    \
  467.   ({                                    \
  468.       register long retvalue __asm__("d0");                \
  469. !     long  _a = (long) (a);                        \
  470. !     long  _b = (long) (b);                        \
  471. !     short _c = (short)(c);                        \
  472. !     short _d = (short)(d);                        \
  473.                                           \
  474.       __asm__ volatile                        \
  475.       ("\
  476. ***************
  477. *** 741,747 ****
  478.           movl    %1,sp@-; \
  479.           movl    %0,sp@- "                    \
  480.       :                    /* outputs */        \
  481. !     : "g"(_a), "g"(_b), "g"(_c), "g"(_d)    /* inputs  */        \
  482.       );                                \
  483.                                       \
  484.       __asm__ volatile                        \
  485. --- 755,761 ----
  486.           movl    %1,sp@-; \
  487.           movl    %0,sp@- "                    \
  488.       :                    /* outputs */        \
  489. !     : "r"(_a), "r"(_b), "r"(_c), "r"(_d)    /* inputs  */        \
  490.       );                                \
  491.                                       \
  492.       __asm__ volatile                        \
  493. ***************
  494. *** 759,768 ****
  495.   #define trap_14_wwwwl(n, a, b, c, d)                    \
  496.   ({                                    \
  497.       register long retvalue __asm__("d0");                \
  498. !     volatile short _a = (volatile short)(a);            \
  499. !     volatile short _b = (volatile short)(b);            \
  500. !     volatile short _c = (volatile short)(c);            \
  501. !     volatile long  _d = (volatile long) (d);            \
  502.                                           \
  503.       __asm__ volatile                        \
  504.       ("\
  505. --- 773,782 ----
  506.   #define trap_14_wwwwl(n, a, b, c, d)                    \
  507.   ({                                    \
  508.       register long retvalue __asm__("d0");                \
  509. !     short _a = (short)(a);                        \
  510. !     short _b = (short)(b);                        \
  511. !     short _c = (short)(c);                        \
  512. !     long  _d = (long) (d);                        \
  513.                                           \
  514.       __asm__ volatile                        \
  515.       ("\
  516. ***************
  517. *** 771,777 ****
  518.           movw    %1,sp@-; \
  519.           movw    %0,sp@- "                    \
  520.       :                        /* outputs */    \
  521. !     : "g"(_a), "g"(_b), "g"(_c), "g"(_d)        /* inputs  */    \
  522.       );                                \
  523.                                       \
  524.       __asm__ volatile                        \
  525. --- 785,791 ----
  526.           movw    %1,sp@-; \
  527.           movw    %0,sp@- "                    \
  528.       :                        /* outputs */    \
  529. !     : "r"(_a), "r"(_b), "r"(_c), "r"(_d)        /* inputs  */    \
  530.       );                                \
  531.                                       \
  532.       __asm__ volatile                        \
  533. ***************
  534. *** 1124,1130 ****
  535.   #define           Ongibit(andmask)                           \
  536.          (void)trap_14_ww((short)(0x1E),(short)(andmask))
  537.   #define           Xbtimer(timer,ctrl,data,vptr)                   \
  538. !        (void)trap_14_wwwwl((short)(0x1E),(short)(timer),(short)(ctrl), \
  539.                  (short)(data),(long)(vptr))
  540.   #define           Dosound(ptr)                           \
  541.          (void)trap_14_wl((short)(0x20),(long)(ptr))
  542. --- 1138,1144 ----
  543.   #define           Ongibit(andmask)                           \
  544.          (void)trap_14_ww((short)(0x1E),(short)(andmask))
  545.   #define           Xbtimer(timer,ctrl,data,vptr)                   \
  546. !        (void)trap_14_wwwwl((short)(0x1F),(short)(timer),(short)(ctrl), \
  547.                  (short)(data),(long)(vptr))
  548.   #define           Dosound(ptr)                           \
  549.          (void)trap_14_wl((short)(0x20),(long)(ptr))
  550. *** 1.2    1992/03/06 19:29:17
  551. --- ostruct.h    1992/03/22 22:06:25
  552. ***************
  553. *** 1,6 ****
  554. --- 1,8 ----
  555.   #ifndef _OSTRUCT_H
  556.   #define _OSTRUCT_H
  557.   
  558. + #include <compiler.h>
  559.   #if defined(__cplusplus)
  560.   extern "C" {
  561.   #endif
  562. ***************
  563. *** 133,147 ****
  564.   
  565.   /* Structure returned by Kbdvbase() */
  566.   typedef struct {
  567. !     void    (*midivec)(void);
  568. !     void    (*vkbderr)(void);
  569. !     void    (*vmiderr)(void);
  570. !     void    (*statvec)(void *);
  571. !     void    (*mousevec)(void *);
  572. !     void    (*clockvec)(void *);
  573. !     void    (*joyvec)(void *);
  574. !     long    (*midisys)(void);
  575. !     long    (*ikbdsys)(void);
  576.       char    kbstate;
  577.   } _KBDVECS;
  578.   
  579. --- 135,149 ----
  580.   
  581.   /* Structure returned by Kbdvbase() */
  582.   typedef struct {
  583. !     void    (*midivec)    __PROTO((void));
  584. !     void    (*vkbderr)    __PROTO((void));
  585. !     void    (*vmiderr)    __PROTO((void));
  586. !     void    (*statvec)    __PROTO((void *));
  587. !     void    (*mousevec)    __PROTO((void *));
  588. !     void    (*clockvec)    __PROTO((void *));
  589. !     void    (*joyvec)    __PROTO((void *));
  590. !     long    (*midisys)    __PROTO((void));
  591. !     long    (*ikbdsys)    __PROTO((void));
  592.       char    kbstate;
  593.   } _KBDVECS;
  594.   
  595. *** 1.17    1991/06/20 02:21:30
  596. --- stdlib.h    1992/03/22 22:06:28
  597. ***************
  598. *** 76,82 ****
  599.   __EXTERN __EXITING abort __PROTO((void));
  600.   #ifndef __cplusplus
  601.     /* bug in g++ 1.39.0 -- cant digest proto */
  602. ! __EXTERN int atexit __PROTO((void (*func)(void)));
  603.   #endif
  604.   __EXTERN __EXITING exit __PROTO((int status));
  605.   
  606. --- 76,82 ----
  607.   __EXTERN __EXITING abort __PROTO((void));
  608.   #ifndef __cplusplus
  609.     /* bug in g++ 1.39.0 -- cant digest proto */
  610. ! __EXTERN int atexit __PROTO((void (*)(void)));
  611.   #endif
  612.   __EXTERN __EXITING exit __PROTO((int status));
  613.   
  614. *** 1.9    1992/01/29 21:08:08
  615. --- vdibind.h    1992/03/22 22:06:30
  616. ***************
  617. *** 23,29 ****
  618.   __EXTERN int     vsm_type __PROTO((int handle, int symbol));
  619.   __EXTERN void     vsm_height __PROTO((int handle, int height));
  620.   __EXTERN int     vsm_color __PROTO((int handle, int index));
  621. ! __EXTERN void     vst_height __PROTO((int handle, int height, int *charw,
  622.                        int *charh, int *cellw, int *cellh));
  623.   __EXTERN int     vst_point __PROTO((int handle, int point, int *charw,
  624.                       int *charh, int *cellw, int *cellh));
  625. --- 23,29 ----
  626.   __EXTERN int     vsm_type __PROTO((int handle, int symbol));
  627.   __EXTERN void     vsm_height __PROTO((int handle, int height));
  628.   __EXTERN int     vsm_color __PROTO((int handle, int index));
  629. ! __EXTERN int      vst_height __PROTO((int handle, int height, int *charw,
  630.                        int *charh, int *cellw, int *cellh));
  631.   __EXTERN int     vst_point __PROTO((int handle, int point, int *charw,
  632.                       int *charh, int *cellw, int *cellh));
  633. ***************
  634. *** 91,99 ****
  635.   __EXTERN void     v_show_c __PROTO((int handle, int reset));
  636.   __EXTERN void     v_hide_c __PROTO((int handle));
  637.   __EXTERN void      vq_mouse __PROTO((int handle, int *pstatus, int *x, int *y));
  638. ! __EXTERN void     vex_butv __PROTO((int handle, void *new, void **old));
  639. ! __EXTERN void     vex_motv __PROTO((int handle, void *new, void **old));
  640. ! __EXTERN void     vex_curv __PROTO((int handle, void *new, void **old));
  641.   __EXTERN void     vq_key_s __PROTO((int handle, int *state));
  642.   
  643.   
  644. --- 91,99 ----
  645.   __EXTERN void     v_show_c __PROTO((int handle, int reset));
  646.   __EXTERN void     v_hide_c __PROTO((int handle));
  647.   __EXTERN void      vq_mouse __PROTO((int handle, int *pstatus, int *x, int *y));
  648. ! __EXTERN void     vex_butv __PROTO((int handle, void *new_p, void **old));
  649. ! __EXTERN void     vex_motv __PROTO((int handle, void *new_p, void **old));
  650. ! __EXTERN void     vex_curv __PROTO((int handle, void *new_p, void **old));
  651.   __EXTERN void     vq_key_s __PROTO((int handle, int *state));
  652.   
  653.   
  654.